package com.tb.tbv1productservice.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.tb.v1.api.product.IProductTypeService;
import com.tb.v1.common.base.BaseServiceImpl;
import com.tb.v1.common.base.IBaseDao;
import com.tb.v1.entity.TProductType;
import com.tb.v1.mapper.TProductTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author: tangBin
 * @Date: 2020/6/4 0004 16:14
 * @Description:
 */
@Component
@Service
public class ProductTypeService extends BaseServiceImpl<TProductType> implements IProductTypeService {
    @Autowired
    private TProductTypeMapper productTypeMapper;
    @Transactional
    @Override
    public IBaseDao<TProductType> getBaseDao() {
        return productTypeMapper;
    }

}
